Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 20, 2025

Adds pre-merge validation for CSV files using existing test infrastructure.

Changes

  • .github/workflows/validate-csv.yml: New workflow that runs tests/test_csv.py on PR and push events
    • Python 3.12 with pytest 9.0.1 (pinned)
    • Minimal permissions (contents: read)
    • Validates CSV column consistency across all rows

The workflow leverages the existing column count validation in test_csv.py which ensures all rows match the header structure.

Original prompt

Add a github action which validates any CSV files in the repo as a pre-merge check


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add GitHub action to validate CSV files before merge Add GitHub Action for CSV validation Nov 20, 2025
Copilot AI requested a review from ArcaneIRE November 20, 2025 23:22
@ArcaneIRE ArcaneIRE marked this pull request as ready for review November 20, 2025 23:22
@ArcaneIRE
Copy link
Member

@AllynH I wanted to try out giving copilot a shot at this. Take it or leave it, no pressure :)

@AllynH
Copy link
Contributor

AllynH commented Nov 21, 2025

acsh1i

@AllynH AllynH merged commit 30eb2c3 into main Nov 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants